package com.ruoyi.newSystem.bean.input;

import com.ruoyi.common.core.domain.vo.UserBaseVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * The type User update req vo.
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Component
public class UserUpdateReqVO extends UserBaseVO {

    @NotNull(message = "用户编号不能为空")
    private Long id;

    private List<Long> deptIds;

    private List<Long> roleIds;

}
